// HightTimerDlg.h : header file
//

#if !defined(AFX_HIGHTTIMERDLG_H__B7A5D555_D870_4B6E_BF5A_299177FB2C87__INCLUDED_)
#define AFX_HIGHTTIMERDLG_H__B7A5D555_D870_4B6E_BF5A_299177FB2C87__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CHightTimerDlg dialog
#pragma comment(lib,"EX_FFT.lib")

	_declspec(dllimport) DWORD MySleep(DWORD delicacy_time) ;
#pragma comment(lib,"Dll_Demo.lib")
#include "mmsystem.h"
#pragma comment(lib, "winmm.lib")	

class CHightTimerDlg : public CDialog
{
// Construction
public:
	HWAVEOUT hwo;
	WAVEFORMATEX waveform;
	DWORD totalLen;
	
	LPSTR waveBuffer3;
	WAVEHDR wavehdr3;
	WAVEHDR wavehdr2;
	LPSTR waveBuffer2;
	LPSTR waveBuffer1;
	WAVEHDR wavehdr1;
	long BlockNum;
	WAVEFORMATEX pwfx;
	HWAVEIN hwi;
	CHightTimerDlg(CWnd* pParent = NULL);	// standard constructor
	void OnProcessData(LPWAVEHDR hdr);
// Dialog Data
	//{{AFX_DATA(CHightTimerDlg)
	enum { IDD = IDD_HIGHTTIMER_DIALOG };
	CButton	m_Start;
	DWORD	m_dwAct;
	DWORD	m_dwAct2;
	DWORD	m_fs;
	int		m_dwAct3;
	float	m_dwAct4;
	CString	m_path;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CHightTimerDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CHightTimerDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnTest();
	afx_msg void OnTest2();
	afx_msg void OnPlay();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	char* pTempBuffer;
	char* pSaveBuffer;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_HIGHTTIMERDLG_H__B7A5D555_D870_4B6E_BF5A_299177FB2C87__INCLUDED_)





















